import http from '../APIService/http'
export const getUserInfo = async cookie => {
  let params = { token: cookie }
  let res = await http.get(`/users/getUserInfo`, params)
  if (res.code === 0) {
    return { ...res.data }
  }
  return {}
}
